package com.huzz.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 描述
 *
 * @author Huzz
 * @create 2022-08-19 13:37
 */
@Data
@ConfigurationProperties(prefix = "token", ignoreInvalidFields = true)
public class TokenProperties {

    /**
     * 是否开启Redis缓存
     */
    private boolean onCacheToken;

    /**
     * 过期时间(分钟)
     */
    private int expire;
}
